package com.sevenGroup.pawnshop.service;

import com.sevenGroup.pawnshop.controller.form.AccountAndUserForm;
import com.sevenGroup.pawnshop.model.Account;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sevenGroup
 * @since 2022-02-16
 */
public interface AccountService extends IService<Account> {
//  新增账号
    Integer addAccount(AccountAndUserForm accountForm);
//  查询是否有某个账号(通过账号)
    Boolean getAccountByAccountUsername(String accountUsernam);
//  根据账号ID修改账号
    String updateAccount(Account account);
//  查询是否有某个手机号(手机号)
    Boolean getAccountByAccountTel(String accountTel);
}
